<template>
  <div>
    <router-view></router-view>
    <van-tabbar v-model="active" active-color="#21b97a">
      <van-tabbar-item icon="home-o" replace to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" replace to="/home/news">找房</van-tabbar-item>
      <van-tabbar-item icon="friends-o" replace to="/home/list">资讯</van-tabbar-item>
      <van-tabbar-item icon="setting-o" replace to="/home/profile">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style>
</style>
